using System;
using Framework.Utils.SingletonTemplate;
using IcecreamView;
using View;

namespace Framework.UI
{
    public class UIManager : SingletonBase<IC_Controller>
    {
        public const string UIMsg = "msg";

        public static void OpenLoading(float inTime, float dTime, float outTime, Action callback)
        {
            Instance.OpenView(UIPanel.LoadPanel, UILayer.Tip, true, new IC_ViewData(UIMsg, inTime, dTime, outTime, callback));
        }

    }
}